# -*- coding: utf-8 -*-
import requests

url = "http://www.pxc.jx.cn"
headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42"}
response = requests.get(url, headers=headers)
with open("D:\\萍乡学院.html", "w", encoding="utf-8") as f:
    f.write(response.text)
